<%@ page language="java" isELIgnored="false" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/ResourceGlobal.jsp"%>
<html>
<head>   
 <!-- 这里引入导航信息header.tpl -->
 <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>招商财富产品创设需求详情</title>

</head>
<body class="sub-page">
<!-- 顶部导航栏 -->
  <jsp:include page="/WEB-INF/jsp/system/index/homeHead.jsp"></jsp:include>
	<div class="location">
	    <i class="fas fa-home"></i>
	    <p>您现在的位置：主页</p>
	    <p class="current">&gt;产品创设</p>
	    <p class="current">&gt;产品创设需求</p>
	    <p class="current">&gt;详情</p>
	    
 	</div>
 	
 	<div class="container">
		<div class="page-content result-box">
			<div  class="model-head">
		      	<span class="head-boder-left"></span>
		        <h2>产品创设需求详情</h2>
		    </div>
		    
			<div class="page-body">
				<div class="table-responsive">
					<table class="table table-bordered">
						<tbody>
	        	
							<tr>
								<td class="align-right gray-bg">需求标题</td>
								<td class="align-left" colspan="3">${demandVo.title }</td>
							</tr>
							<tr>
								<td class="align-right gray-bg">处理人</td>
								<td class="align-left" colspan="3">${demandVo.companyName }</td>
							</tr>
							<tr>
								<td class="align-right gray-bg">需求类型</td>
								<input id="dType" type="hidden" value="${demandVo.type }"/>
								<td class="align-left" colspan="3">${demandVo.typeNM }</td>
							</tr>
							<tr>
								<td class="align-right gray-bg">状态</td>
								<td class="align-left" colspan="3">${demandVo.statusNm }</td>
							</tr>
							<tr>
								<td class="align-right gray-bg">创建时间</td>
								<td class="align-left" colspan="3">${demandVo.createTime }</td>
							</tr>
							<tr class="type_tr" style="display: none;">
								<td class="align-right gray-bg" >产品期限</td>
								<td class="align-left" colspan="3">
									<%
										request.setAttribute("vEnter", "\n");
									%>
									${fn:replace(demandVo.prdTerm, vEnter, '<br/>') }
								</td>
							</tr>
							<tr class="type_tr" style="display: none;">
								<td class="align-right gray-bg">参考收益</td>
								<td class="align-left" colspan="3">
									<%
										request.setAttribute("vEnter", "\n");
									%>
									${fn:replace(demandVo.refProfit, vEnter, '<br/>') }
								</td>
							</tr>
							<tr class="type_tr" style="display: none;">
								<td class="align-right gray-bg">投资范围</td>
								<td class="align-left" colspan="3">
									<%
										request.setAttribute("vEnter", "\n");
									%>
									${fn:replace(demandVo.investDesc, vEnter, '<br/>') }
								</td>
							</tr>
							<tr id="mType" style="display: none;">
								<td class="align-right gray-bg" >材料类型</td>
								<td class="align-left" colspan="3">${demandVo.materialTypeNM }</td>
							</tr>
							<tr>
								<td class="align-right gray-bg">备注</td>
								<td class="align-left" colspan="3">
									<%
										request.setAttribute("vEnter", "\n");
									%>
									${fn:replace(demandVo.remark, vEnter, '<br/>') }
								</td>
							</tr>
						</tbody>
					</table>
				</div>
				<div class="model">
					<div class="model-head">
						<span class="head-boder-left"></span>
						<h2>附件</h2>
					</div>
					<div class="model-content clear">
						<c:if test="${empty attachVos }">
							无
						</c:if>
						<ul class="list-group file-list">
							<c:forEach var="attach" items="${attachVos }">
								<li class="list-group-item col-sm-12">
									<div class="col-sm-8">
										● <a href="/solution/sys/attach/downloadAttach.do?attId=${attach.attId }">${attach.attName }</a>
									</div>
									<div class="col-sm-4 align-right">${attach.createTime }</div>
								</li>
							</c:forEach>
						</ul>
					</div>
				</div>
			</div>
			<div class="page-footer"></div>
		</div>
	
	</div>
 	
<script type="text/javascript" src="<%=context%>/resources/modules/business/demand/demandDetail.js?random=<%=Math.random()%>"></script>

</body>

	
</html> 

